<%@ page import="java.util.Map" %>
<%@ page import="per.hnvcam.searchext.Constants" %>
<%--
  Created by IntelliJ IDEA.
  User: camhoang
  Date: 7/19/11
  Time: 10:02 AM
  To change this template use File | Settings | File Templates.
--%>
<%@include file="include.jsp" %>
<%@include file="header.jsp" %>

<div class="top_container">
</div>
<div class="middle_container">
   <div class="left_container">&nbsp;</div>
   <div class="input_container">
      <div class="logo_container">
         <img src="images/logo.png" class="logo_image"/>

         <span class="application_title">SEARCH EXTENSION</span>
      </div>
      <form:form commandName="searchInfo">
         <form:input path="searchText" cssClass="search_text"/>
         <form:select path="filterClass" cssClass="classified_class">
            <form:option value="0"><%=Constants.SEARCH_ALL%></form:option>
            <%
               Map<String, String> classes = (Map<String, String>) request.getAttribute("classTypes");
               for (String classType : classes.keySet()) {
                  String className = classes.get(classType);
                  %>
                  <form:option value="<%=classType%>"><%=className%></form:option>
                  <%
               }
            %>
         </form:select>
         <input type="submit" value="Search" class="search_button"/>
      </form:form>
   </div>
   <div class="right_container">&nbsp;</div>
</div>
<div class="bottom_container"></div>


<%@include file="footer.jsp" %>